﻿@model VehicleManagement.Models.FinanManInfo
@{
    ViewBag.Title = "Edit";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@Html.Partial("_PartviewAdminNav")
<div class="content bc">
    <div class="content_link_warn f12">
        你当前的位置：财务人员管理&gt&gt &nbsp;&nbsp;财务人员查询&gt&gt &nbsp;&nbsp;财务人员修改
    </div>
    <div class="content_right fr" id="rightcontent">

        <h2>
            </h2>
            <link rel="stylesheet" href="@Url.Content("~/Content/css/page_zlb_c_e_d.css")" type="text/css"/>


        @using (Html.BeginForm("Edit", "FinanManInfo", FormMethod.Post, new { enctype = "multipart/form-data" }))
        {
            @Html.ValidationSummary(true)
            <fieldset>

                @*<legend></legend>*@
                <div class="OutTitle">
                    <span>财务人员信息修改</span></div>
                <div class="Box">
                    <div class="SubBox1 mt5 ml15 mr15">
                        <div class="SubTitle">
                            财务人员系统信息</div>
                        <div class="SubBox-container">
                            <div class="pic-wrap">
                                @if (string.IsNullOrWhiteSpace(Model.FinanManImage))
                                {
                                    <img src="../../Content/themes/picture/defaultHeadImage.png" />
                                }
                                else
                                {
                                    <img src="/Photos/Financial/@Model.FinanManImage" />
                                }
                                <div class="a-wrap">
                                    <input type="file" name="file" />
                                </div>
                            </div>
                            <div class="text-wrap">
                                <div class="text-line">
                                 @Html.HiddenFor(model => model.FinanManID)
                                    <div class="withValidate">
                                        <span class="loginName-span">@Html.LabelFor(model => model.finaManagerNumber):</span>
                                        @Html.DisplayFor(model => model.finaManagerNumber)
                                    </div>
                                    <div class="withValidate">
                                        <span class="password-span">@Html.LabelFor(model => model.FinanMan_password):</span>
                                        @Html.EditorFor(model => model.FinanMan_password)
                                        <div class="validate validate_password_fm">
                                            @Html.ValidationMessageFor(model => model.FinanMan_password)
                                        </div>
                                    </div>
                                    <div class="clear"></div>
                                </div>
                                <div class="padding">
                                </div>
                                @*<div class="text-line">
                                    <div class="withValidate">
                                        <span>@Html.LabelFor(model => model.Passw_ques):</span>
                                        @Html.DropDownListFor(model => model.Passw_ques,
                                new SelectList(new[] { "父母的名字", "读过的学校" }, "父母的名字"))
                                        <div class="validate">
                                            @Html.ValidationMessageFor(model => model.Passw_ques)
                                        </div>
                                    </div>
                                    <div class="withValidate">
                                        <span>@Html.LabelFor(model => model.Passw_answer):</span>
                                        @Html.EditorFor(model => model.Passw_answer)
                                        <div class="validate finanman2_c">
                                            @Html.ValidationMessageFor(model => model.Passw_answer)
                                        </div>
                                    </div>
                                    <div class="clear"></div>
                                </div>*@
                                <div class="text-line">
                                    <div class="withValidate">
                                        <span class="loginName-span">@Html.LabelFor(model => model.CompanyName):</span>
                                        @Html.DisplayFor(model => model.CompanyName)
                                    </div>
                                    <div class="clear"></div>
                                </div>
                            </div>
                            <div class="clear"></div>
                        </div>
                    </div>
                    <div class="SubBox2 m15 mt10 mb5">
                        <div class="SubTitle">
                            财务人员详细信息</div>
                        <div class="SubBox-container">
                            <div class="text-wrap ml5 mb5 mr5">
                                <div class="text-line">
                                    <div class="withValidate">
                                        <span >@Html.LabelFor(model => model.FinanManName):</span>
                                        @Html.EditorFor(model => model.FinanManName)
                                        <div class="validate finanman3_c">
                                            @Html.ValidationMessageFor(model => model.FinanManName)
                                        </div>
                                    </div>
                                    <div class="withValidate">
                                        <span class="FM_c_special">@Html.LabelFor(model => model.Sex):</span>
                                         @Html.DropDownListFor(model => model.Sex,new SelectList(new[]{"男","女"},"男"))
                                        <div class="validate">
                                            @Html.ValidationMessageFor(model => model.Sex)
                                        </div>
                                    </div>
                                    <div class="clear"></div>
                                </div>
                                <div class="text-line">
                                    <div class="withValidate">
                                        <span>@Html.LabelFor(model => model.Email):</span>
                                        @Html.EditorFor(model => model.Email)
                                        <div class="validate validate3">
                                            @Html.ValidationMessageFor(model => model.Email)
                                        </div>
                                    </div>
                                    <div class="withValidate">
                                        <span class="FM_c_special">@Html.LabelFor(model => model.Telephone):</span>
                                        @Html.EditorFor(model => model.Telephone)
                                        <div class="validate validate3">
                                            @Html.ValidationMessageFor(model => model.Telephone)
                                        </div>
                                    </div>
                                    <div class="clear"></div>
                                </div>
                                <div class="text-line">
                                    <span class="spanType1">@Html.LabelFor(model => model.Remark):</span>
                                    @Html.TextAreaFor(model => model.Remark)
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="button-wrap">
                    <div class="submit-wrap">
                        <div class="divINsubmit saveEdit">
                            <input class="submit" type="submit" value="保存修改" /></div>
                    </div>
                    <div class="a-back mr15">
                        <div class="divINa-back">@Html.ActionLink("返回", "Index")</div>
                    </div>
                </div>
            </fieldset>         

        }

    </div>
    @Html.Partial("_PartviewFinanmanLeftbar")
    <div class="content_contract fl">
        <a href="javascript:void(0)" class="btn_contract w8h32" id="contract" title="收缩">
        </a><a href="javascript:void(0)" class="btn_expand w8h32" id="expand" title="展开">
        </a>
    </div>
    <div class="cb">
    </div>
</div>
